package com.pgytesting.studentmanagement.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : frosty0804@gmail.com
 * @version : v1.0
 * @projectName : studentmanagement
 * @className : Controller
 * @description : TODO(学生管理系统的控制层)
 * @date : 2019/7/16 19:30
 */
@Slf4j
@RestController
public class Controller {

    @RequestMapping("/hello")
    public String getHello(){
        log.info("这是我第一个SpringBoot接口日志");
        return "Hello SpringBoot";
    }

}
